﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAO;
using DTO;

namespace BUS
{
    public class CT_PhieuXuatKhoBUS
    {
        CT_PhieuXuatKhoDAO ct_pxkDAO = new CT_PhieuXuatKhoDAO();

        public List<CT_PhieuXuatKhoDTO> LayDanhSachCTPhieuXuatKho(int mapxk)
        {
            return ct_pxkDAO.LayChiTietPhieuXuatKhoTheoMa(mapxk);
        }

        public String ThemCTPhieuXuatKho(CT_PhieuXuatKhoDTO ctpxkDTO)
        {
            return ct_pxkDAO.ThemChiTietPhieuXuatKho(ctpxkDTO);
        }
    }
}
